import axios from "axios";

const getRoughListById =  (id:number)=>{
    return new Promise((resolve, reject) => {
        axios.get("/api/rough-task/selectTaskByCrowd",{
            params:{
                crowdId:id
            }
        }).then((response)=>{
            resolve(response.data);
        })
    })
}

export default getRoughListById;